
<form name="form" method="post" action="{[$root]}{[$deleteLink]}{[$p1]}{[$p3]}">
<table>
	<tr align="center">
		<th width="40"><input type="checkbox" class="check" name="chkall" value="on" onclick="chkbox(this.form)"></th>
		<th width="40">序号</th>
		<th>流水号</th>
		<th>员工</th>

		<th>头像</th>
		<th>性别</th>
		<th>年龄</th>
		<th>学历</th>
		<th>民族</th>
		<th>婚姻</th>
		
		<th>有效期</th>

		<th>省份</th>
		<th>城市</th>
		<th>状态</th>
		<th>{[$orderby]}</th>
	</tr>
	{[foreach name=outer key=key item=item from=$result]} {[assign var="no" value="`$key+$pager->from+1`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td><input type="checkbox" class="check" name="c_{[$item.id]}" value="{[$item.id]}"></td>
		<td>{[$no]}</td>
		<td><a href="javascript:void(0)" onclick="Common.dialog_view_('{[$root]}{[$viewLink]}&id={[$item.id]}', '员工信息', '650x450')">{[$item.id]}</a></td>
		<td><a href="javascript:void(0)" onclick="emp('{[$item.id]}')">{[$item.name]}</a></td>

		<td>{[if $item.photo ne '']}有{[else]}无{[/if]}</td>

		<td>{[$item.sex_t]}</td>
		<td>{[$item.age]}</td>
		<td>{[$item.education_t]}</td>

		<td>{[$item.nationality_t]}</td>
		<td>{[$item.marriage_t]}</td>
		
		<td>{[$item.indate]}</td>

		<td>{[$item.province]}</td>
		<td>{[$item.city]}</td>
		<td>{[$item.status_t]}</td>
		<td>{[$item.orderby_x]}</td>
	</tr>
	{[/foreach]}
	<tr align="center">
		<td><input type="button" name="delete" value="删除" onclick="expunge(this.form)"></td>
		<td colspan="14"></td>
	</tr>
</table>
</form>

{[include file="footer.tpl"]}

<script type="text/javascript" src="js/emp/list.js?r={[$smarty.now]}"></script>
